is Allowed By Scope
Check if a scope is allowed for a given block.
Return
whether the scope is allowed for the given block.
Parameters
block
the block to check.
key
the scope to check.
Check if a scope is allowed for a given block.
whether the scope is allowed for the given block.
the block to check.
the scope to check.